<template>
  <div v-if="showPage" class="g-type-main page">
    <flexbox>
      <flexbox-item>
        <x-button type="primary" @click="goPort">进口</x-button>
      </flexbox-item>
      <flexbox-item>
        <x-button type="warn" @click="goPort">出口</x-button>
      </flexbox-item>
    </flexbox>
  </div>

</template>

<script>

  import Lib from '@/assets/js/Lib'
  import { Port } from '@/assets/api/query/port'
  import { XButton, Flexbox, FlexboxItem} from 'vux'

  let _port = new Port()
  export default {
    data() {
      return {
        showPage:true,
        headImg:""
      }
    },
    components: {
      XButton, Flexbox, FlexboxItem
    },
    methods: {
      goPort: function () {
        Lib.M.storage.setSession("",'')
        this.$router.push({path:'/port'});
      }

    },
    mounted () {
      let _vue = this
//      Lib.M.setBack('../index.html');
//      _studentInfo = Lib.M.storage.getSession("_tmp_student_indexpage");
//      _wechat_user = Lib.M.storage.getSession("wechat_user");
    },created(){
      Lib.M.changeTitle('选择');
    }
  }
</script>

<style lang="scss">

</style>
